<include file="Public:header"/>

	<Joyeasy:list sql="SELECT * FROM `yey_category` where id=1" id="r">					
		<!--首页zhongbox-->
		<div class="zhongbox">
			<div class="zhongnr">
				<!--二级banner-->
				<div class="erjibanner">
					<img src="{$r.image}" width="840" height="260" />
				</div>
				<!--二级banner-->
				<!--二级tou-->
				<div class="erjit">
					<div class="erjit_t">
					{$r.catname}
					</div>
                    <Joyeasy:list sql="SELECT * FROM `yey_category` where parentid=$r[id] order by listorder asc,id asc" id="rs">					
                        <if condition="$rs.id eq $catid">
							<div class="erjit_li2">
								<a href="{$rs.url}">{$rs.catname}</a>
							</div>
                        <else />
							<div class="erjit_li">
								<a href="{$rs.url}">{$rs.catname}</a>
							</div>
                        </if>
                    </Joyeasy:list>
					<img src="../Public/img/qidi.jpg" style="float:right;margin-right:50px;" />
					<div class="clear"></div>
				</div>
				<!--二级tou-->
				<!--二级content-->
				<div class="erji_nr">
					<div style="float:left;width:400px;font-size:12px;">
						{$content}
					</div>
					<div class="lianxi_ys">
						
					</div>
						<div class="mapdi" style="float:right;">
							<Joyeasy:list sql="SELECT * FROM `yey_fenyuan` order by id desc" id="gytb">	
								<div class="mapbiao" style="left:{$gytb.xzuobiao}px;top:{$gytb.yzuobiao}px;">
									<a  href="{$gytb.url}" target="_blank" >
										<img src="./Uploads/201501/54c256a5e13fd.png" id="gytb{$gytb.id}" />
										<div class="mapbiao_hover" id="gytb_hover{$gytb.id}">
											<div class="mapbiao_hover_t">
											{$gytb.title}
											</div>
										</div>
									</a>
									
								</div>
							</Joyeasy:list>
														
						</div>
					<div class="clear"></div>
				</div>
				<!--二级content-->
				<div class="clear"></div>
			</div>
		</div>
		<!--首页zhongbox-->
		<script>
				$(function(){
					$('.mapbiao').hover(function(){
						$(this).find('a').find('img').hide();
						$(this).find('a').find('div').show();
					},function(){
						$(this).find('a').find('img').show();
						$(this).find('a').find('div').hide();
					});
				});
		</script>
	</Joyeasy:list>

	
<include file="Public:footer"/>
